﻿using System;
using System.Collections.Generic;
using System.Text;

namespace PowerCard
{
    public class Appsetting
    {
        //public static readonly string CONN_STRING_NON_DTC = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="+PublicMethods.UserSession.CurrentUser.App_Path+"\\VIP_Manage.mdb; Jet OLEDB:Database Password=james@mzh2006";
        //public static readonly string CONN_STRING_NON_DTC = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\\data\\VIP_Manage.mdb";
        //public static string ConnectionString = "Data Source=203.191.150.126;Initial Catalog=baoshui;User ID=sa;Password=janemeng@2006;Trusted_Connection=False";


        public static string ConnectionString = System.Configuration.ConfigurationSettings.AppSettings["sqlconn"].ToString();
        public static decimal first = decimal.Parse(System.Configuration.ConfigurationSettings.AppSettings["first1"].ToString());
        public static decimal second = decimal.Parse(System.Configuration.ConfigurationSettings.AppSettings["second1"].ToString());
        public static decimal percentage = decimal.Parse(System.Configuration.ConfigurationSettings.AppSettings["percentage"].ToString());
        public static string ConnectionString1 = System.Configuration.ConfigurationSettings.AppSettings["sqlconn1"].ToString();
        //System.Configuration.ConfigurationSettings.AppSettings["sqlconn"].ToString();   //连接字符串
    }
}
